projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9b35ec
)
(decode_mode_spec): For %F, use explicit name or `Emacs'.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 16 Apr 1996 22:52:34 +0000
(22:52 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 16 Apr 1996 22:52:34 +0000
(22:52 +0000)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 79821e4a350bbbaaeb2272d8f2271ceb7326ea6b..b967bbf243c510f30b7cf098de145d7139f61986 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-3723,10
+3723,10
@@
decode_mode_spec (w, c, spec_width, maxwidth)
#ifdef MULTI_FRAME
if (!NILP (selected_frame->title))
return (char *) XSTRING (selected_frame->title)->data;
- return (char *) XSTRING (selected_frame->name)->data;
-#else
- return "Emacs";
+ if (selected_frame->explicit_name)
+ return (char *) XSTRING (selected_frame->name)->data;
#endif
+ return "Emacs";
case 'f':
obj = b->filename;